package com.usian.order;

import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 米西米西
 */
@Data
@Accessors(chain = true)
public class Order {
    /**
     * id：唯一标识符
     * 用于唯一标识一个记录的整数类型ID
     */
    private Integer id;

    /**
     * userId：用户ID
     * 与用户表关联的整数类型ID，标识哪位用户的相关信息
     */
    private Integer userId;
    private String address;
    private Integer orderStatus;
    /**
     * status：判断状态
     * 用于区分订单类型
     */
    private Integer status;
    /**
     * status：金额
     */
    private Double amount;

    /**
     * status：地址
     */
    private Integer addressId;
    /**
     * status：类别
     */
    private String category;
    /**
     * status：沟通方式
     */
    private String communication;
    /**
     * status：沟通时间
     */
    private String time;
    private Integer acceptId;
    private String image;
    private String addressname;
    private Integer designerId;

    public Order(Integer id, Integer userId, String address, Integer orderStatus, Integer status, Double amount, Integer addressId, String category, String communication, String time,Integer acceptId) {
        this.id = id;
        this.userId = userId;
        this.address = address;
        this.orderStatus = orderStatus;
        this.status = status;
        this.amount = amount;
        this.addressId = addressId;
        this.category = category;
        this.communication = communication;
        this.time = time;
        this.acceptId=acceptId;
    }

}
